package com.molichuxing.exception;

/**
 * @Author: renzhengyu
 * @Description: 保养提醒次数redis key
 * @Date: Created in 18:15 2019/12/12
 * @Modified By:
 **/
public class MaintenanceRemindCountKey {

    public static final String MILEAGE_REMIND="maintenance:remind:mileage";


    public static final String TIME_REMIND="maintenance:remind:time";


    public static String getMileageRemindKey(Integer userId, Integer maintenanceId, Integer carId){
        return MILEAGE_REMIND.concat(userId.toString()).concat("-").concat(maintenanceId.toString()).concat("-").concat(carId.toString());
    }

    public static String getTimeRemindKey(Integer userId,Integer maintenanceId, Integer carId){
        return TIME_REMIND.concat(userId.toString()).concat("-").concat(maintenanceId.toString()).concat("-").concat(carId.toString());
    }

}
